package com.yanqu.road.logic.bussiness.translations;

import com.yanqu.road.entity.translations.Translations;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

/**
 * @author ：zfr
 * @date ：2021/4/28 20:56
 */
public class TranslationsBusiness {
    public static Map<String, Map<String, Translations>> getChatLanguageMap() {
        return DaoHelper.getTranslationsDaoImpl().getChatLanguageMap();
    }

    public static boolean add(Translations translations) {
        return DaoHelper.getTranslationsDaoImpl().add(translations);
    }

    public static boolean update(Translations translations) {
        return DaoHelper.getTranslationsDaoImpl().update(translations);
    }
}
